Skip to content

LargeTypesReg2Mem: Add unchecked_bitwise_cast to the projections we need to propagate largeness from destination to source operand #80888

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

aschwaighofer
Copy link
Contributor

rdar://148545382

…eed to propagate largeness from destination to source operand

rdar://148545382
@aschwaighofer aschwaighofer requested a review from rjmccall as a code owner April 17, 2025 16:21
@aschwaighofer
Copy link
Contributor Author

@swift-ci test

@aschwaighofer aschwaighofer merged commit 6c1f58b into swiftlang:main Apr 18, 2025
5 checks passed
aschwaighofer added a commit to aschwaighofer/swift that referenced this pull request Apr 18, 2025
…s we need to propagate largeness from destination to source operand

Scope: Fixes a compiler crash in some version of swift-collections
Issue: An instruction whose result type address'ness needs to be
propagated to its operand was not handled.
Risk: Low, this case would have crashed without the change.
Testing: Unit test added. The compiler successfully compiled the project
after this change.
Original PR: swiftlang#80888

rdar://148545382
(cherry picked from commit 370b7e8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant